package design.p18_command;

/**
 * @ClassName: Java
 * @description:
 * @author: zxf
 * @create: 2021-06-19 22:42
 **/
public class Invoker {

    private Command command;

    public Invoker(Command command){
        this.command = command;
    }
    public void action(){
        command.exe();
    }
}

